﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mesuro.Common {
	public interface IChannel {
		/// <summary>
		/// Gets the seriesKey of this iChannel.
		/// </summary>
		String Name { get; }

		/// <summary>
		/// Gets the limits of the _data in this iChannel.
		/// </summary>
		Limits Limits { get; set; }
	}

	public class DefaultImmutableChannel : IChannel {

		public string Name { get; private set; }

		public Limits Limits { get; set; }

		public DefaultImmutableChannel( String name, Limits lims ) {
			Name = name;
			Limits = lims;
		}
	}
	public class DefaultMutableChannel : IChannel {

		public string Name { get; set; }

		public Limits Limits { get; set; }

		public DefaultMutableChannel() { }
		public DefaultMutableChannel( String name, Limits lims ) {
			Name = name;
			Limits = lims;
		}
	}

}
